package com.liyuxiang.yygh.hosp.service;

import com.liyuxiang.yygh.model.hosp.Schedule;
import com.liyuxiang.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Map<String, Object> paramMap);

    Page<Schedule> getSchedule(String hoscode, int pageNum, int pageSize);

    void removeSchedule(String hoscode, String hosScheduleId);

    Map<String, Object> getScheduleRule(int page, int limit, String hocode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String date);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getScheduleById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);
    //更新排班数据
    void update(Schedule schedule);
}
